package model;

/**
 *
 * @author Junjie
 */
public class StorageList 
{
    private ProductFamily productFamilyName;
    private int number;
    private double 
            purchasePrice,
            salesPrice;

    public StorageList(ProductFamily productFamilyName, int number, double purchasePrice, double salesPrice) {
        this.productFamilyName = productFamilyName;
        this.number = number;
        this.purchasePrice = purchasePrice;
        this.salesPrice = salesPrice;
    }

    public StorageList(int number, double purchasePrice, double salesPrice) {
        productFamilyName = null;
        this.number = number;
        this.purchasePrice = purchasePrice;
        this.salesPrice = salesPrice;
    }
    
    

    public ProductFamily getProductFamilyName() {
        return productFamilyName;
    }

    public int getNumber() {
        return number;
    }

    public double getPurchasePrice() {
        return purchasePrice;
    }

    public double getSalesPrice() {
        return salesPrice;
    }
    
                   
}
